/*
 * Copyright (c) 2015, FPX and/or its affiliates. All rights reserved.
 * Use, Copy is subject to authorized license.
 */
package com.fpx.open.platform.domain.pickup;

import java.util.Date;

/**
 * 揽收计划
 * @author shiw
 * @date 2015年9月29日
 */
public class PickupPlan {

	public static final int STATUS_INIT = 0;
	
	/** 计划id */
	private Integer id;
	
	/** 客户单号 */
	private String customerOrderNo;
	
	/** 揽收地址 */
	private String pickupAddress;
	
	/** 联系人 */
	private String contactPerson;
	
	/** 联系电话 */
	private String contactTelephone;
	
	/** 数量 */
	private Integer quantity;
	
	/** 重量 */
	private Double weight;
	
	/** 创建时间 */
	private Date createdTime;
	
	/** 揽收时间 */
	private Date pickupTime;
	
	/** 状态 0：生成 1：已确认 2：揽收成功 3：失败后再揽收 9：揽收失败 */
	private Integer status;
	
	/** 备注 */
	private String remark;
	
	/** 揽收司机id */
	private Integer pickupDriverId;
	
	/** 仓库代码 */
	private String warehouseCode;
	
	/** 服务商单号 */
	private String serverOrderNo;
	
	/** 揽收班次id */
	private Integer vehicleTripsId;

	/**
	 * @return the id
	 */
	public Integer getId() {
		return id;
	}

	/**
	 * @param id the id to set
	 */
	public void setId(Integer id) {
		this.id = id;
	}

	/**
	 * @return the pickupAddress
	 */
	public String getPickupAddress() {
		return pickupAddress;
	}

	/**
	 * @param pickupAddress the pickupAddress to set
	 */
	public void setPickupAddress(String pickupAddress) {
		this.pickupAddress = pickupAddress;
	}

	/**
	 * @return the contactPerson
	 */
	public String getContactPerson() {
		return contactPerson;
	}

	/**
	 * @param contactPerson the contactPerson to set
	 */
	public void setContactPerson(String contactPerson) {
		this.contactPerson = contactPerson;
	}

	/**
	 * @return the contactTelephone
	 */
	public String getContactTelephone() {
		return contactTelephone;
	}

	/**
	 * @param contactTelephone the contactTelephone to set
	 */
	public void setContactTelephone(String contactTelephone) {
		this.contactTelephone = contactTelephone;
	}

	/**
	 * @return the quantity
	 */
	public Integer getQuantity() {
		return quantity;
	}

	/**
	 * @param quantity the quantity to set
	 */
	public void setQuantity(Integer quantity) {
		this.quantity = quantity;
	}

	/**
	 * @return the weight
	 */
	public Double getWeight() {
		return weight;
	}

	/**
	 * @param weight the weight to set
	 */
	public void setWeight(Double weight) {
		this.weight = weight;
	}

	/**
	 * @return the createdTime
	 */
	public Date getCreatedTime() {
		return createdTime;
	}

	/**
	 * @param createdTime the createdTime to set
	 */
	public void setCreatedTime(Date createdTime) {
		this.createdTime = createdTime;
	}

	/**
	 * @return the pickupTime
	 */
	public Date getPickupTime() {
		return pickupTime;
	}

	/**
	 * @param pickupTime the pickupTime to set
	 */
	public void setPickupTime(Date pickupTime) {
		this.pickupTime = pickupTime;
	}

	/**
	 * @return the status
	 */
	public Integer getStatus() {
		return status;
	}

	/**
	 * @param status the status to set
	 */
	public void setStatus(Integer status) {
		this.status = status;
	}

	/**
	 * @return the remark
	 */
	public String getRemark() {
		return remark;
	}

	/**
	 * @param remark the remark to set
	 */
	public void setRemark(String remark) {
		this.remark = remark;
	}

	/**
	 * @return the customerOrderNo
	 */
	public String getCustomerOrderNo() {
		return customerOrderNo;
	}

	/**
	 * @param customerOrderNo the customerOrderNo to set
	 */
	public void setCustomerOrderNo(String customerOrderNo) {
		this.customerOrderNo = customerOrderNo;
	}

	/**
	 * @return the pickupDriverId
	 */
	public Integer getPickupDriverId() {
		return pickupDriverId;
	}

	/**
	 * @param pickupDriverId the pickupDriverId to set
	 */
	public void setPickupDriverId(Integer pickupDriverId) {
		this.pickupDriverId = pickupDriverId;
	}

	/**
	 * @return the warehouseCode
	 */
	public String getWarehouseCode() {
		return warehouseCode;
	}

	/**
	 * @param warehouseCode the warehouseCode to set
	 */
	public void setWarehouseCode(String warehouseCode) {
		this.warehouseCode = warehouseCode;
	}

	/**
	 * @return the serverOrderNo
	 */
	public String getServerOrderNo() {
		return serverOrderNo;
	}

	/**
	 * @param serverOrderNo the serverOrderNo to set
	 */
	public void setServerOrderNo(String serverOrderNo) {
		this.serverOrderNo = serverOrderNo;
	}

	/**
	 * @return the vehicleTripsId
	 */
	public Integer getVehicleTripsId() {
		return vehicleTripsId;
	}

	/**
	 * @param vehicleTripsId the vehicleTripsId to set
	 */
	public void setVehicleTripsId(Integer vehicleTripsId) {
		this.vehicleTripsId = vehicleTripsId;
	}

}
